package vues;

import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.Font;
import java.util.ArrayList;
import java.util.Map.Entry;

import javax.swing.JComboBox;
import javax.swing.JTable;

import modele.Personne;
import modele.Systeme;

public class RecSuppTachesRetard extends JFrame {

    private JPanel contentPane;
    private JTable table;
    private Systeme s;

    /**
     * Create the frame.
     */
    public RecSuppTachesRetard() {
        s = Systeme.getInstance();
        setBounds(100, 100, 689, 443);
        contentPane = new JPanel();
        contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
        setContentPane(contentPane);
        GridBagLayout gbl_contentPane = new GridBagLayout();
        gbl_contentPane.columnWidths = new int[]{0, 0, 0, 0, 0, 0, 546, 0, 0, 0, 0, 0};
        gbl_contentPane.rowHeights = new int[]{14, 0, 0, 0, 0, 0, 0, 0, 0};
        gbl_contentPane.columnWeights = new double[]{0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0};
        gbl_contentPane.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, Double.MIN_VALUE};
        contentPane.setLayout(gbl_contentPane);
        
        // Label titre
        JLabel lblAjouterUnResponsable = new JLabel("Rechercher des t\u00E2ches en retard");
        lblAjouterUnResponsable.setFont(new Font("Tahoma", Font.BOLD, 18));
        GridBagConstraints gbc_lblAjouterUnResponsable = new GridBagConstraints();
        gbc_lblAjouterUnResponsable.insets = new Insets(0, 0, 5, 5);
        gbc_lblAjouterUnResponsable.anchor = GridBagConstraints.NORTH;
        gbc_lblAjouterUnResponsable.gridx = 6;
        gbc_lblAjouterUnResponsable.gridy = 0;
        contentPane.add(lblAjouterUnResponsable, gbc_lblAjouterUnResponsable);
        
        table = new JTable();
        GridBagConstraints gbc_table = new GridBagConstraints();
        gbc_table.gridheight = 2;
        gbc_table.insets = new Insets(0, 0, 5, 5);
        gbc_table.fill = GridBagConstraints.BOTH;
        gbc_table.gridx = 4;
        gbc_table.gridy = 5;
        contentPane.add(table, gbc_table);
        
        JButton btnSupprimerToutesLes = new JButton("Supprimer toutes les t\u00E2ches en retard");
        GridBagConstraints gbc_btnSupprimerToutesLes = new GridBagConstraints();
        gbc_btnSupprimerToutesLes.insets = new Insets(0, 0, 5, 5);
        gbc_btnSupprimerToutesLes.gridx = 6;
        gbc_btnSupprimerToutesLes.gridy = 6;
        contentPane.add(btnSupprimerToutesLes, gbc_btnSupprimerToutesLes);
    }

}
